<!DOCTYPE html>
<html>
<head>
	<title></title>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css" href="stylesheets/style.css">
</head>
<body>
	<div class="container">
		<div class="navbar">相册</div>

		<div class="row">
			<ul class="col-3 nav flex-column albumList">
				<li class="nav-item"><a class="nav-link active" href="javascript:;">全部</a></li>
				<li class="nav-item"><a class="nav-link" href="javascript:;">相册1</a><button type="button" class="close" aria-label="Close">
  							<span aria-hidden="true">&times;</span>
						</button></li>
				<li class="nav-item"><a class="nav-link" href="javascript:;">相册2</a></li>
			</ul>

			<div class="col-9 main">
				<ul class="nav">
	  				<li class="nav-item">
	    				<button type="button" class="btn btn-primary btn-sm openCreateAlbumModalBtn" data-toggle="modal">创建相册</button>
	  				</li>
	  				<li class="nav-item">
	  					<input type="file" id="selectImage" accept="image/jpeg, image/png" class="sr-only">
	  					<button type="button" class="btn btn-primary btn-sm" id="trigInput">上传图片</button>
	  				</li>
				</ul>

				<div class="row imageList">
					<div class="col-3">
						<img src="images/p.jpg" class="rounded">
						<button type="button" class="close" aria-label="Close">
  							<span aria-hidden="true">&times;</span>
						</button>
					</div>
				</div>
			</div>
		</div>
	</div>


	<!-- Modal -->
	<div class="modal fade" id="createAlbumModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  		<div class="modal-dialog" role="document">
    		<div class="modal-content">
      			<div class="modal-header">
        			<h5 class="modal-title" id="exampleModalLabel">创建相册</h5>
        			<button type="button" class="close" data-dismiss="modal" aria-label="Close">
          				<span aria-hidden="true">&times;</span>
        			</button>
      			</div>
      			<div class="modal-body">
      				<input type="text" name="">
      			</div>
      			<div class="modal-footer">
        			<button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
        			<button type="button" class="btn btn-primary createAlbumBtn">创建</button>
      			</div>
    		</div>
  		</div>
	</div>


	<!-- Optional JavaScript -->
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
    <!-- <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> -->
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>`
    <script src="https://cdn.bootcss.com/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
    <script src="https://cdn.bootcss.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
    <script type="text/javascript" src="javascripts/album.js"></script>
  </body>
</body>
</html>